package org.travel.app.service;

import com.github.pagehelper.PageInfo;
import org.travel.app.entity.spots.Spots;
import org.travel.app.entity.spots.SpotsReservation;

/**
 * @author nmm
 * @date 2024-12-2024/12/10
 * @deriction njm......
 */
public interface SpotsService {
    /**
     * 添加景点
     * @param spots
     */
    void saveSpots(Spots spots);

    PageInfo<Spots> getSpotsList( int pageNum, int pageSize,Spots spots);

    String addSpotsReservation(SpotsReservation spotsReservation);

    /**
     * 通过景点id查询景点
     * @param spotsId
     * @return
     */
    Spots  getSpotById(Integer spotsId);


}